<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>N3RD CH4T: addBuddy Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">N3RD CH4T
   &#160;<span id="projectnumber">Final Version</span>
   </div>
   <div id="projectbrief">CS340 Project</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">addBuddy Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="addBuddy" -->
<p>The <a class="el" href="classadd_buddy.html" title="The addBuddy helper methods.">addBuddy</a> helper methods.  
 <a href="classadd_buddy.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="addbuddy_8h_source.html">addbuddy.h</a>&gt;</code></p>

<p><a href="classadd_buddy-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6c64dfa85bf467a51fb9f85f8c09f393"></a><!-- doxytag: member="addBuddy::addFriend" ref="a6c64dfa85bf467a51fb9f85f8c09f393" args="(QString)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classadd_buddy.html#a6c64dfa85bf467a51fb9f85f8c09f393">addFriend</a> (QString)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">addFriend signal that adds the user to the friends list <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a525550539bf281cb0e6090c91c5c4225"></a><!-- doxytag: member="addBuddy::addBuddy" ref="a525550539bf281cb0e6090c91c5c4225" args="(QWidget *parent, QString personSendingRequest)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classadd_buddy.html#a525550539bf281cb0e6090c91c5c4225">addBuddy</a> (QWidget *parent, QString personSendingRequest)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classadd_buddy.html" title="The addBuddy helper methods.">addBuddy</a> Constructor <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c43a5fa6e74b744e603c3743f49df09"></a><!-- doxytag: member="addBuddy::~addBuddy" ref="a1c43a5fa6e74b744e603c3743f49df09" args="()" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classadd_buddy.html#a1c43a5fa6e74b744e603c3743f49df09">~addBuddy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classadd_buddy.html" title="The addBuddy helper methods.">addBuddy</a> Deconstructor <br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-slots"></a>
Private Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classadd_buddy.html#a75adb2ddb1d4cd0b31e1da7b2e087074">handleIsValidFriendRequestConfirmation</a> (QString personSentTo, bool isConfirmed)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Slot that will handle the friend request confirmation or deny.  <a href="#a75adb2ddb1d4cd0b31e1da7b2e087074"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a465c14b35c5cd2fa795de7aaff142300"></a><!-- doxytag: member="addBuddy::on_addButton_clicked" ref="a465c14b35c5cd2fa795de7aaff142300" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classadd_buddy.html#a465c14b35c5cd2fa795de7aaff142300">on_addButton_clicked</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Slot that determines if the user has clicked the add button. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a138c4da08fa856d7441774f32b396f3b"></a><!-- doxytag: member="addBuddy::on_cancelButton_clicked" ref="a138c4da08fa856d7441774f32b396f3b" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classadd_buddy.html#a138c4da08fa856d7441774f32b396f3b">on_cancelButton_clicked</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Slot that determines if the user has clicked the cancel button. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classadd_buddy.html#a9e626667376529b5be5fc1fa72eb20f4">displayMessage</a> (QString msgToDisplay)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Method that displays the message sent.  <a href="#a9e626667376529b5be5fc1fa72eb20f4"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a79af2b6b68c227220ec7a2ecfe218941"></a><!-- doxytag: member="addBuddy::ui" ref="a79af2b6b68c227220ec7a2ecfe218941" args="" -->
Ui::addBuddy *&#160;</td><td class="memItemRight" valign="bottom"><b>ui</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5952652a5825af15b75bd71988802edc"></a><!-- doxytag: member="addBuddy::personSendingRequest" ref="a5952652a5825af15b75bd71988802edc" args="" -->
QString&#160;</td><td class="memItemRight" valign="bottom"><b>personSendingRequest</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classadd_buddy.html" title="The addBuddy helper methods.">addBuddy</a> helper methods. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9e626667376529b5be5fc1fa72eb20f4"></a><!-- doxytag: member="addBuddy::displayMessage" ref="a9e626667376529b5be5fc1fa72eb20f4" args="(QString msgToDisplay)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void addBuddy::displayMessage </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>msgToDisplay</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Method that displays the message sent. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">msgToDisplay</td><td>The message to display to the user </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a75adb2ddb1d4cd0b31e1da7b2e087074"></a><!-- doxytag: member="addBuddy::handleIsValidFriendRequestConfirmation" ref="a75adb2ddb1d4cd0b31e1da7b2e087074" args="(QString personSentTo, bool isConfirmed)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void addBuddy::handleIsValidFriendRequestConfirmation </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>personSentTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isConfirmed</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Slot that will handle the friend request confirmation or deny. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">personSentTo</td><td>The user who is receiving the friend request </td></tr>
    <tr><td class="paramname">isConfirmed</td><td>A boolean value of the confirm or deny response </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/Users/plamontagna/Documents/spa-cs340project/im_client_v2/<a class="el" href="addbuddy_8h_source.html">addbuddy.h</a></li>
<li>/Users/plamontagna/Documents/spa-cs340project/im_client_v2/<a class="el" href="addbuddy_8cpp.html">addbuddy.cpp</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 23:53:09 for N3RD CH4T by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
